Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improves yarn init #6703

Merged
merged 5 commits into from
Feb 26, 2025
Merged

Improves yarn init #6703

merged 5 commits into from
Feb 26, 2025

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented Feb 24, 2025

What's the problem this PR addresses?

I often find myself doing the same things in every project I create, I figure some of them could be improved in yarn init.

How did you fix it?

  • Widens the editorconfig configuration (otherwise it doesn't cover ts, tsx, jsx, css, less, etc).
  • Add node_modules as a gitignored path, regardless whether we're in PnP mode or not.
  • Add --deps and --dev-deps to add specific dependencies directly during the project init.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@arcanis arcanis merged commit 47bca70 into master Feb 26, 2025
26 checks passed
@arcanis arcanis deleted the mael/init branch February 26, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant